//
//  Environmental.swift
//  UICore
//
//  Created by 蒋晨成 on 2021/12/24.
//

import Standard
import UIKit

public protocol Environmental: Standard.Environmental {
    var scheme: String { get }

    func application(didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data)

    func application(didFailToRegisterForRemoteNotificationsWithError error: Error)

    func application(didReceiveRemoteNotification userInfo: [AnyHashable: Any], fetchCompletionHandler: @escaping (UIBackgroundFetchResult) -> Void)
}
